package com.minis.web.test.service;

import com.minis.aop.MethodInterceptor;
import com.minis.aop.MethodInvocation;


// 程序员自定义拦截操作
public class TracingInterceptor implements MethodInterceptor {
    @Override
    public Object invoke(MethodInvocation i) throws Throwable {
        System.out.println("增强：Before");
        Object ret=i.proceed();
        System.out.println("增强：After");
        return ret;
    }
}
